dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve required parameter after optional in specials
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialProtectedtitles.php
diff --git
a/includes/specials/SpecialProtectedtitles.php
b/includes/specials/SpecialProtectedtitles.php
index
2770bc5
..
00bfba9
100644
(file)
--- a/
includes/specials/SpecialProtectedtitles.php
+++ b/
includes/specials/SpecialProtectedtitles.php
@@
-112,7
+112,7
@@
class SpecialProtectedtitles extends SpecialPage {
* @return string
* @private
*/
- function showOptions( $namespace, $type
= 'edit'
, $level ) {
+ function showOptions( $namespace, $type, $level ) {
$formDescriptor = [
'namespace' => [
'class' => 'HTMLSelectNamespace',